{% extends 'base.html' %}
{% block right-panel-content %}
    <h2 align="center">User Login</h2>
    <div class="col-md-4 col-md-offset-4">
        <form action="{% url 'login' %}" method='post' autocomplete="on">
            {% csrf_token %}
            {% for field in form %}
                <div class="form-group">
                    {{ field.label_tag }}
                    {{ field.errors }}
                    {{ field }}
                </div>
            {% endfor %}
            <div class="row">
                <div class="col-md-5 ">
                                <button type="reset" class="btn btn-block btn-danger">Clean</button>

                </div>
                <div class="col-md-5 col-md-offset-2">
                               <button type="submit" class="btn btn-block btn-success">Login</button>

                </div>
            </div>
        </form>
    </div>
{% endblock %}
